const defaultWidth = 100
const defaultDetailWidth = 130
export const tableHeaders = [
  {
    name: '报表名称',
    key: 'reportName',
    wid: defaultWidth
  },
  {
    name: '标题',
    key: 'reportTitle',
    wid: defaultWidth
  },
  {
    name: '创建人',
    key: 'createByDescr',
    wid: defaultWidth
  },
  {
    name: '创建时间',
    key: 'createTime',
    wid: 170
  },
  {
    name: '操作',
    wid: 170,
    fixed: 'right',
    showTooltip: false,
    slotName: 'operate'
  }
]
export const tableDetailHeaders = [
  {
    name: '单元格描述',
    showTooltip: false,
    key: 'cellName',
    slotName: 'cellName',
    wid: 240,
    aligh: 'left'
  },
  {
    name: '单元格宽度',
    showTooltip: false,
    key: 'cellWidth',
    slotName: 'cellWidth',
    wid: defaultDetailWidth
  },
  {
    name: '单元格对齐方式',
    showTooltip: false,
    key: 'cellAlignment',
    slotName: 'cellAlignment',
    wid: 140
  },
  {
    name: '使用状态',
    showTooltip: false,
    key: 'status',
    slotName: 'status',
    wid: defaultDetailWidth
  },
  {
    name: '是否小计',
    showTooltip: false,
    key: 'isSum',
    slotName: 'isSum',
    wid: defaultDetailWidth
  },
  {
    name: '小计位置',
    showTooltip: false,
    key: 'sumPosition',
    slotName: 'sumPosition',
    wid: defaultDetailWidth
  },

  {
    name: '单元格关键字',
    showTooltip: false,
    key: 'cellDataKey',
    slotName: 'cellDataKey',
    wid: 140
  },
  {
    name: '创建人',
    showTooltip: false,
    key: 'createBy',
    wid: defaultDetailWidth
  },
  {
    name: '创建时间',
    key: 'createTime',
    showTooltip: false,
    wid: 170
  },
  {
    name: '修改人',
    key: 'updateBy',
    showTooltip: false,
    wid: defaultDetailWidth
  },
  {
    name: '修改时间',
    key: 'updateTime',
    showTooltip: false,
    wid: 170
  },
  {
    name: '操作',
    wid: 200,
    fixed: 'right',
    showTooltip: false,
    slotName: 'operate'
  }
]
export const searchItem = [
  {
    name: '报表名称',
    key: 'tableName'
  },
  {
    name: '报表标题',
    key: 'tableTitle'
  }
]
